package com.dengbw.systemtransfer.model.function;

import com.dengbw.systemtransfer.global.CoreKey;
import com.dengbw.systemtransfer.model.db.SysMenu;
import com.dengbw.systemtransfer.model.db.SysRole;
import com.dengbw.systemtransfer.model.db.SysRoleMenu;
import com.dengbw.systemtransfer.model.request.CunInfo;
import org.springframework.util.CollectionUtils;

import java.util.*;

/**
 * @author dengbw
 * @date 2021/8/9 4:49 下午
 */
public class Task {
    private Task(){}
    private static final Map<String, String> extLabel = new HashMap<>();
    private static final Map<String, String> functionLabel = new HashMap<>();

    public static String getExtLabel(String name) {
        if (CollectionUtils.isEmpty(extLabel)) {
            extLabel.put("请假管理", "请假");
            extLabel.put("疫情排查", "来访人员登记表");
            extLabel.put("居家防控", "居家防疫打卡（拍照）");
            extLabel.put("农事课堂", "云课堂");
        }
        return extLabel.getOrDefault(name, name);
    }

    public static String getFunctionLabel(String name) {
        if (CollectionUtils.isEmpty(functionLabel)) {
            functionLabel.put("乡亲投票", "智能填表");
            functionLabel.put("视频课堂", "云课堂");
            functionLabel.put("工作汇报", "日志");
            functionLabel.put("投票管理", "智能填表");
        }
        return functionLabel.getOrDefault(name, name);
    }

    public static final List<Long> extNeed = new ArrayList<>(List.of(
            1L, 2L, 3L, 4L, 5L, 13L, 14L, 16L, 17L, 18L, 19L, 20L, 21L, 22L, 27L));

    public static final List<String> functionNeed = new ArrayList<>(List.of(
            "/upload/group1/M00/00/0F/AXTfEGDyk_SAHtl1AAAcnKKwvvo760.svg",
            "/upload/group1/M00/00/0F/AXTfEGDyk_SAQ-zvAAAVDdyvy30941.svg"
    ));

    public static List<CmmExtTask> extTask(String corpId, Map<String, String> core) {
        return new ArrayList<>(List.of(
                new CmmExtTask(1L, "采购计划", 1, buildUrl(corpId, core.get(CoreKey.CAIGOU)), corpId, 1),
                new CmmExtTask(2L, "用车申请", 2, buildUrl(corpId, core.get(CoreKey.YONGCHE)), corpId, 1),
                new CmmExtTask(3L, "通用审批", 3, buildUrl(corpId, core.get(CoreKey.SHENPI)), corpId, 1),
                new CmmExtTask(4L, "请假管理", 4, buildUrl(corpId, core.get(CoreKey.QINGJIA)), corpId, 1),
                new CmmExtTask(5L, "任务管理", 5, buildUrl(corpId, core.get(CoreKey.RENWU)), corpId, 1),
                new CmmExtTask(6L, "我的待办", 6, "https://aflow.dingtalk.com/dingtalk/mobile/homepage.htm?dd_web_timestamp=1619841476237&showmenu=false&dd_share=false&corpid=" + corpId + "#/upcoming?swfrom=work_homepage&modalGroup=todo", corpId, 1),
                new CmmExtTask(7L, "疫情通报", 7, "https://m.yangshipin.cn/static/2020/c0126.html", corpId, 1),
                new CmmExtTask(8L, "疫情快讯", 8, "https://alihealth.taobao.com/medicalhealth/influenzamap", corpId, 1),
                new CmmExtTask(9L, "疫情快讯2级", 9, "https://news.sina.cn/zt_d/feiyan1231", corpId, 1),
                new CmmExtTask(10L, "疫情通报2级", 10, "http://www.nhc.gov.cn/xcs/yqtb/list_gzbd.shtml", corpId, 1),
                new CmmExtTask(11L, "不实言论", 11, "https://ncov.dxy.cn/ncovh5/view/pneumonia_rumors?from=groupmessage&isappinstal", corpId, 1),
                new CmmExtTask(12L, "防疫知识", 12, "http://m.chinacdc.cn/jkzt/crb/yl/hrb_11806/", corpId, 1),
                new CmmExtTask(13L, "疫情排查", 13, "https://swform.dingtalk.com/index.htm?corpId=" + corpId + "&formCode=" + core.get(CoreKey.DENGJI) + "&bizType=0#/queWrite/" + corpId + "/" + core.get(CoreKey.DENGJI) + "/3ab5b77206b2a850e44817cfa29662b7?bizType=0", corpId, 1),
                new CmmExtTask(14L, "健康打卡", 14, "https://swform.dingtalk.com/index.htm?corpId=" + corpId + "&formCode=" + core.get(CoreKey.JIANKANG) + "&bizType=0#/queWrite/" + corpId + "/" + core.get(CoreKey.JIANKANG) + "/3ab5b77206b2a850e44817cfa29662b7?bizType=0", corpId, 1),
                new CmmExtTask(15L, "患者同乘", 15, "https://broccoli.uc.cn/apps/feiyansearch/routes/d_beY5eo", corpId, 1),
                new CmmExtTask(16L, "居家防控", 16, "https://swform.dingtalk.com/index.htm?corpId=" + corpId + "&formCode=" + core.get(CoreKey.JUJIA) + "&bizType=0#/queWrite/" + corpId + "/" + core.get(CoreKey.JUJIA) + "/3ab5b77206b2a850e44817cfa29662b7?bizType=0", corpId, 1),
                new CmmExtTask(17L, "出入管理", 17, buildUrl(corpId, core.get(CoreKey.CHURU)), corpId, 1),
                new CmmExtTask(18L, "签到", 18, core.get(CoreKey.QIANDAO), corpId, 1),
                new CmmExtTask(19L, "走访日志", 19, buildUrl(corpId, core.get(CoreKey.ZOUFANG)), corpId, 1),
                new CmmExtTask(20L, "电话会议", 20, core.get(CoreKey.DIANHUA), corpId, 1),
                new CmmExtTask(21L, "视频会议", 21, core.get(CoreKey.SHIPIN), corpId, 1),
                new CmmExtTask(22L, "智能会议室", 22, core.get(CoreKey.HUIYISHI), corpId, 1),
                new CmmExtTask(23L, "一键装机", 23, "http://broad.10010lt.com/woseenpro//e10010/online/AiProducts.do?data=", corpId, 1),
                new CmmExtTask(24L, "抽奖", 24, "http://218.60.2.205:8736/#/luck_draw_new?token=", corpId, 1),
                new CmmExtTask(25L, "抽奖记录", 25, "http://218.60.2.205:8736/#/reward_records?token=", corpId, 1),
                new CmmExtTask(26L, "注册地址", 26, "http://digital-village.lnch-tech.com:14005/index.html", corpId, null),
                new CmmExtTask(27L, "农事课堂", 27, core.get(CoreKey.KETANG), corpId, 1),
                new CmmExtTask(28L, "电商直播", 28, "https://img.client.10010.com/zhibo/index.html#/liveplayer?userId=9100052&from=LiveList", corpId, 1),
                new CmmExtTask(29L, "联通APP", 29,"https://m.10010.com/", corpId,  1),
                new CmmExtTask(30L, "农户首页轮播", 30, "[{\"image\":\"../../static/image/beautiful_country.png\",\"path\":\"pages/beautiful/index\"},{\"image\":\"../../static/image/gov_banner.png\",\"path\":\"pages/party/index\"}]", corpId, 1),
                new CmmExtTask(31L, "干部首页轮播", 31, "[{\"image\":\"../../static/image/beautiful_country.png\",\"path\":\"pages/beautiful/index\"},{\"image\":\"../../static/image/gov_banner.png\",\"path\":\"pages/party/index\"}]", corpId, 1)
        ));
    }

    private static String buildUrl(String corpId, String code) {
        return "https://aflow.dingtalk.com/dingtalk/mobile/homepage.htm?dd_web_timestamp=1619841885741&corpid=" + corpId + "&dd_share=false&showmenu=false&dd_progress=false&swfrom=qrshareh5&processCode=" + code + "&back=native#/custom";
    }

    public static List<CmmFunctionTask> zhenConfigTask(String corpId, Map<String, String> core) {
        return new ArrayList<>(List.of(
                new CmmFunctionTask(3, 1, null, 2, "三务公开", "pages/open/index", "三务公开", "/upload/group1/M00/00/0F/AXTfEGDykMmAYqcwAAAUbThx4Sg723.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMmAYqcwAAAUbThx4Sg723.svg", null, null, true, 1),
                new CmmFunctionTask(3, 1, null, 2, "领导班子", "pages/leaders/index", "领导班子", "/upload/group1/M00/00/0F/AXTfEGDykMmAR6x3AAAbsmYO4tA413.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMmAR6x3AAAbsmYO4tA413.svg", null, null, true, 1),
                new CmmFunctionTask(3, 1, null, 2, "惠农政策", "pages/farm/index", "惠农政策", "/upload/group1/M00/00/0F/AXTfEGDykMmAOfKtAAAcHRf89K0285.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMmAOfKtAAAcHRf89K0285.svg", null, null, true, 1),
                new CmmFunctionTask(3, 1, null, 2, "我有困难", "pages/people/index", "我有困难", "/upload/group1/M00/00/0F/AXTfEGDykMmAfTPDAAAUUDQZdk4777.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMmAfTPDAAAUUDQZdk4777.svg", null, null, true, 1),
                new CmmFunctionTask(3, 1, null, 2, "看家护院", "pages/brightPerson/index", "看家护院", "/upload/group1/M00/00/0F/AXTfEGDykMmAYopkAAAcEhIszcU430.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMmAYopkAAAcEhIszcU430.svg", null, null, true, 1),
                new CmmFunctionTask(3, 2, null, 2, "大喇叭", "pages/horn/index", "大喇叭", "/upload/group1/M00/00/0F/AXTfEGDykMmAB5i5AAAYNzivoRg947.svg", 1, "/upload/group1/M00/00/0F/AXTfEGDykMmAB5i5AAAYNzivoRg947.svg", 1, null, true, 1),
                new CmmFunctionTask(3, 2, null, 2, "通知栏", "pages/notice/index", "通知栏", "/upload/group1/M00/00/0F/AXTfEGDykMmAaeALAAAUMLdyaHk752.svg", 1, "/upload/group1/M00/00/0F/AXTfEGDykMmAaeALAAAUMLdyaHk752.svg", 5, null, true, 1),
                new CmmFunctionTask(3, 3, null, 1, "市场行情", "https://m.cnhnb.com/hangqing/", "市场行情", "/upload/group1/M00/00/0F/AXTfEGDykMiAU5yhAAAXvlQ3pnI778.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMiAU5yhAAAXvlQ3pnI778.svg", null, null, true, 1),
                new CmmFunctionTask(3, 3, null, 2, "招工信息", "pages/laborer/index", "招工信息", "/upload/group1/M00/00/0F/AXTfEGDykMiAM7NSAAAVgguzhXw827.svg", 1, "/upload/group1/M00/00/0F/AXTfEGDykMiAM7NSAAAVgguzhXw827.svg", 3, null, true, 1),
                new CmmFunctionTask(3, 3, null, 2, "农资服务", "pages/farmerAdvisory/index", "农资服务", "/upload/group1/M00/00/0F/AXTfEGDykMiATMrPAAAZKtkWmlk006.svg", 1, "/upload/group1/M00/00/0F/AXTfEGDykMiATMrPAAAZKtkWmlk006.svg", 4, null, true, 1),
                new CmmFunctionTask(3, 4, null, 1, "宽带安装", "pages/key/index", "宽带安装", "/upload/group1/M00/00/0F/AXTfEGDykMmAHSDUAAAYAkE5IME704.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMmAHSDUAAAYAkE5IME704.svg", null, null, true, 1),
                new CmmFunctionTask(3, 4, null, 1, "联通APP", "https://m.10010.com/", "联通APP", "/upload/group1/M00/00/0F/AXTfEGDykMmAF95nAAATierTYQw724.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMmAF95nAAATierTYQw724.svg", null, null, true, 1),
                new CmmFunctionTask(3, 4, null, 2, "乡村钱包", "pages/wallet/index", "乡村钱包", "/upload/group1/M00/00/0F/AXTfEGDykMmAM9cMAAAULAgt3vY627.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMmAM9cMAAAULAgt3vY627.svg", null, null, true, 1),
                new CmmFunctionTask(3, 5, null, 2, "美丽乡村", "pages/beautiful/index", "美丽乡村", "/upload/group1/M00/00/0F/AXTfEGDykMiAJ8WHAAAXeNkFME4362.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMiAJ8WHAAAXeNkFME4362.svg", null, null, true, 1),
                new CmmFunctionTask(3, 5, null, 2, "乡村快讯", "pages/news/index", "乡村快讯", "/upload/group1/M00/00/0F/AXTfEGDykMiAV5W6AAAWsmacEU4666.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMiAV5W6AAAWsmacEU4666.svg", null, null, true, 1),
                new CmmFunctionTask(3, 5, null, 2, "农事指导", "/pages/farmerGuide/index", "农事指导", "/upload/group1/M00/00/0F/AXTfEGDykMiAZUsoAAAfjsy_IOw797.svg", 1, "/upload/group1/M00/00/0F/AXTfEGDykMiAZUsoAAAfjsy_IOw797.svg", 2, null, true, 1),
                new CmmFunctionTask(3, 4, null, 1, "安全出行", "https://m.ctrip.com/", "安全出行", "/upload/group1/M00/00/17/AXTfEGEaCNaAbgE4AAAWilOcKjk479.svg", 2, "/upload/group1/M00/00/17/AXTfEGEaCNaAbgE4AAAWilOcKjk479.svg", null, null, true, 1),
                new CmmFunctionTask(3, 4, null, 1, "天气预报", "http://e.weather.com.cn/d/town/index?", "天气预报", "/upload/group1/M00/00/17/AXTfEGEaCNaAPlpUAAAY2cAdgUg166.svg", 2, "/upload/group1/M00/00/17/AXTfEGEaCNaAPlpUAAAY2cAdgUg166.svg", null, null, true, 1),
                new CmmFunctionTask(3, 4, null, 1, "快递服务", "https://m.kuaidi100.com/", "快递服务", "/upload/group1/M00/00/17/AXTfEGEaCNaASX4iAAAXETHP6d8919.svg", 2, "/upload/group1/M00/00/17/AXTfEGEaCNaASX4iAAAXETHP6d8919.svg", null, null, true, 1),
                new CmmFunctionTask(3, 4, null, 2, "疫情防控", "pages/sick/index", "疫情防控", "/upload/group1/M00/00/17/AXTfEGEaCNaAYunHAAASx9GTQ_U178.svg", 2, "/upload/group1/M00/00/17/AXTfEGEaCNaAYunHAAASx9GTQ_U178.svg", null, null, true, 1),
                new CmmFunctionTask(3, 8, null, 2, "我的签到", "pages/sign/index", "我的签到", "/upload/group1/M00/00/0F/AXTfEGDykMmASE6uAAAUP_gPqAc366.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMmASE6uAAAUP_gPqAc366.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 1, 2, "党建天地", "pages/party/index", "党建天地", "/upload/group1/M00/00/0F/AXTfEGDyk_SAP8_GAAAad7DsivE105.svg", 1, "/upload/group1/M00/00/00/AXTfEGDBfjqAHkU6AAAo0ugEiow844.svg", 3, null, true, 1),
                new CmmFunctionTask(2, null, 2, 2, "三务公开", "pages/open/index", "三务公开", "/upload/group1/M00/00/0F/AXTfEGDyk_SAUL4KAAAUdHPLjBU996.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjqAOCecAAAit4VbTwI521.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 2, 2, "领导班子", "pages/leaders/index", "领导班子", "/upload/group1/M00/00/0F/AXTfEGDyk_SAKNjyAAAbufaB0Ws616.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjuAAkmaAAAp_aLfjk0050.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 2, 2, "惠农政策", "pages/farm/index", "惠农政策", "/upload/group1/M00/00/0F/AXTfEGDyk_SAAw_TAAAcJKsrMkc112.svg", 1, "/upload/group1/M00/00/00/AXTfEGDBfjqAbJFHAAAqZpsxWh8013.svg", 2, null, true, 1),
                new CmmFunctionTask(2, null, 2, 2, "农户信息", "pages/userInformation/list", "农户信息", "/upload/group1/M00/00/10/AXTfEGDyk_SAB9x5AAAk2G5TEv8554.svg", 1, "/upload/group1/M00/00/00/AXTfEGDBfjqAQM3MAAAy5kkq6Fs656.svg", 6, null, true, 1),
                new CmmFunctionTask(2, null, 2, 2, "平安乡村", "pages/bright/index", "平安乡村", "/upload/group1/M00/00/0F/AXTfEGDyk_SAQ77sAAAcG76hYA8981.svg", 1, "/upload/group1/M00/00/00/AXTfEGDBfjqARN1ZAAAq3fdZ_P0722.svg", 1, null, true, 1),
                new CmmFunctionTask(2, null, 3, 2, "大喇叭", "pages/horn/index", "大喇叭", "/upload/group1/M00/00/0F/AXTfEGDyk_SAaEETAAAYPsQKRxQ652.svg", 1, "/upload/group1/M00/00/00/AXTfEGDBfjqAQp1QAAAmhg9wQP0359.svg", 4, null, true, 1),
                new CmmFunctionTask(2, null, 3, 2, "通知栏", "pages/notice/index", "通知栏", "/upload/group1/M00/00/0F/AXTfEGDyk_SATB21AAAUN49mhW8321.svg", 1, "/upload/group1/M00/00/00/AXTfEGDBfjqACePZAAAimrAIwbw551.svg", 5, null, true, 1),
                new CmmFunctionTask(2, null, 4, 1, "我的待办", "https://aflow.dingtalk.com/dingtalk/mobile/homepage.htm?dd_web_timestamp=1619841476237&showmenu=false&dd_share=false&corpid=" + corpId + "#/upcoming?swfrom=work_homepage&modalGroup=todo", "我的待办", "/upload/group1/M00/00/0F/AXTfEGDyk_SABzBbAAAVefMWBCg009.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjqAa1GOAAAjyAFK7LU594.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 4, 2, "督查督办", "pages/overseer/index", "督查督办", "/upload/group1/M00/00/10/AXTfEGDyk_SAYpsWAAAaiwcuJzs556.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjqAf9n3AAAo05e22OE501.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 4, 2, "下户走访", "pages/visit/index", "下户走访", "/upload/group1/M00/00/10/AXTfEGDyk_SAMM3BAAAXmKgo0hg457.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjqANG40AAAl2IWsPJw153.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 4, 3, "工作汇报", core.get(CoreKey.RIZHI), "工作汇报", "/upload/group1/M00/00/0F/AXTfEGDyk_SAHtl1AAAcnKKwvvo760.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjqAPB-XAAAq0mz4Fio631.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 4, 2, "会议管理", "pages/meeting/index", "会议管理", "/upload/group1/M00/00/10/AXTfEGDyk_SAMY4CAAAWlvqIEY0018.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjqAbxC9AAAk3OetFnA119.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 4, 2, "行政管理", "pages/administer/index", "行政管理", "/upload/group1/M00/00/10/AXTfEGDyk_SAMcKzAAAVkhbkP0M035.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjqAcTKsAAAj2p6EYAI183.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 4, 3, "投票管理", core.get(CoreKey.ZHINENG), "投票管理", "/upload/group1/M00/00/0F/AXTfEGDyk_SAQ-zvAAAVDdyvy30941.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjqABpLqAAAjVPXXPss964.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 5, 2, "美丽乡村", "pages/beautiful/index", "美丽乡村", "/upload/group1/M00/00/0F/AXTfEGDyk_SAJQ22AAAXf9kUV-8587.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjqAHpuUAAAlvMuFVYU773.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 5, 2, "乡村快讯", "pages/news/index", "乡村快讯", "/upload/group1/M00/00/0F/AXTfEGDyk_SALXVgAAAWuaNN5d0319.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjqAKz2fAAAk9_OGdFE927.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 5, 2, "农事指导", "/pages/farmerGuide/index", "农事指导", "/upload/group1/M00/00/0F/AXTfEGDyk_SAGQMqAAAfleDnAgM740.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjqABZ5OAAAt0TomjfY860.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 5, 2, "疫情防控", "pages/sick/index", "疫情防控", "/upload/group1/M00/00/0F/AXTfEGDyk_SAcYONAAATcA1By1g409.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDyk_SAcYONAAATcA1By1g409.svg", null, null, true, 1),
                new CmmFunctionTask(3, 3, null, 1, "农村电商", "http://lnj.h5.lncwkj.com/login", "农村电商", "/upload/group1/M00/00/0F/AXTfEGDykMiAI2jzAAAYWX9HWhw947.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMiAI2jzAAAYWX9HWhw947.svg", null, null, true, 1),
                new CmmFunctionTask(3, 9, null, 2, "党建天地", "pages/party/index", "党建天地", "/upload/group1/M00/00/0F/AXTfEGDykMmAX3KAAAAacMTYOVI499.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMmAX3KAAAAacMTYOVI499.svg", null, null, true, 1),
                new CmmFunctionTask(3, 3, null, 1, "电商直播", "https://img.client.10010.com/zhibo/index.html#/liveplayer?userId=9100052&from=LiveList", "电商直播", "/upload/group1/M00/00/0F/AXTfEGDykMmAaRW0AAAW4kLk9Js963.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDykMmAaRW0AAAW4kLk9Js963.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 2, 2, "一键开会", "/pages/videoCall/videoCall", "一键开会", "/upload/group1/M00/00/0F/AXTfEGDyk_SACIe_AAAZw6UOxgk419.svg", 2, "/upload/group1/M00/00/00/AXTfEGDBfjqAGT2OAAAoDOfOf5Y711.svg", null, null, true, 1),
                new CmmFunctionTask(2, null, 2, 2, "我有困难", "pages/people/index", "我有困难", "/upload/group1/M00/00/0F/AXTfEGDyk_SAJcT4AAAUVvIMbWU671.svg", 2, "/upload/group1/M00/00/00/rBBHwGCh0umAGKDPAAATjKuz6GA288.svg", null, true, true, 1),
                new CmmFunctionTask(2, null, 1, 2, "党建天地", "pages/party/index", "党建天地", "/upload/group1/M00/00/0F/AXTfEGDyk_SAP8_GAAAad7DsivE105.svg", 1, "/upload/group1/M00/00/00/rBBHwGCh1HqAGvp5AAAZsMb9f3c433.svg", 1, null, false, 1),
                new CmmFunctionTask(2, null, 2, 2, "平安乡村", "pages/bright/index", "平安乡村", "/upload/group1/M00/00/0F/AXTfEGDyk_SAQ77sAAAcG76hYA8981.svg", 1, "/upload/group1/M00/00/00/rBBHwGCh1E2AbueEAAAbNUBu3W4705.svg", 3, null, false, 1),
                new CmmFunctionTask(2, null, 2, 2, "领导班子", "pages/leaders/index", "领导班子", "/upload/group1/M00/00/0F/AXTfEGDyk_SAKNjyAAAbufaB0Ws616.svg", 2, "/upload/group1/M00/00/00/rBBHwGCh06yAZJmjAAAa74aBYiY165.svg", null, null, false, 1),
                new CmmFunctionTask(2, null, 2, 2, "惠农政策", "pages/farm/index", "惠农政策", "/upload/group1/M00/00/0F/AXTfEGDyk_SAAw_TAAAcJKsrMkc112.svg", 2, "/upload/group1/M00/00/00/rBBHwGCh0k2AH8q9AAAbWsEFu2k147.svg", null, null, false, 1),
                new CmmFunctionTask(2, null, 2, 2, "农户信息", "pages/userInformation/list", "农户信息", "/upload/group1/M00/00/10/AXTfEGDyk_SAB9x5AAAk2G5TEv8554.svg", 1, "/upload/group1/M00/00/00/rBBHwGCh0WmADlL5AAAj2gnbI7w306.svg", 6, null, false, 1),
                new CmmFunctionTask(2, null, 3, 2, "通知栏", "pages/notice/index", "通知栏", "/upload/group1/M00/00/0F/AXTfEGDyk_SATB21AAAUN49mhW8321.svg", 1, "/upload/group1/M00/00/00/rBBHwGCh0q6AAplvAAATbQRYNOM519.svg", 5, null, false, 1),
                new CmmFunctionTask(2, null, 4, 1, "我的待办", "https://aflow.dingtalk.com/dingtalk/mobile/homepage.htm?dd_web_timestamp=1619841476237&showmenu=false&dd_share=false&corpid="  + corpId + "#/upcoming?swfrom=work_homepage&modalGroup=todo", "我的待办", "/upload/group1/M00/00/0F/AXTfEGDyk_SABzBbAAAVefMWBCg009.svg", 2, "/upload/group1/M00/00/00/rBBHwGCh0m-AcTvjAAAUsN-9kW4356.svg", null, null, false, 1),
                new CmmFunctionTask(2, null, 4, 2, "督查督办", "pages/overseer/index", "督查督办", "/upload/group1/M00/00/10/AXTfEGDyk_SAYpsWAAAaiwcuJzs556.svg", 2, "/upload/group1/M00/00/00/rBBHwGCh0y6AUC4HAAAZwcPNRek050.svg", null, null, false, 1),
                new CmmFunctionTask(2, null, 4, 2, "下户走访", "pages/visit/index", "下户走访", "/upload/group1/M00/00/10/AXTfEGDyk_SAMM3BAAAXmKgo0hg457.svg", 2, "/upload/group1/M00/00/00/rBBHwGCh0FiAZr6lAAAWLVBJ86c560.svg", null, null, false, 1),
                new CmmFunctionTask(2, null, 4, 3, "工作汇报", core.get(CoreKey.RIZHI), "工作汇报", "/upload/group1/M00/00/0F/AXTfEGDyk_SAHtl1AAAcnKKwvvo760.svg", 2, "/upload/group1/M00/00/00/rBBHwGCh0eqAVtTqAAAbwsEvagg591.svg", null, null, false, 1),
                new CmmFunctionTask(2, null, 4, 2, "会议管理", "pages/meeting/index", "会议管理", "/upload/group1/M00/00/10/AXTfEGDyk_SAMY4CAAAWlvqIEY0018.svg", 2, "/upload/group1/M00/00/00/rBBHwGCh0LCAJJB2AAAVzJ82LhE632.svg", null, null, false, 1),
                new CmmFunctionTask(2, null, 4, 2, "行政管理", "pages/administer/index", "行政管理", "/upload/group1/M00/00/10/AXTfEGDyk_SAMcKzAAAVkhbkP0M035.svg", 2, "/upload/group1/M00/00/00/rBBHwGCh032AZmwSAAAUyTqelTE257.svg", null, null, false, 1),
                new CmmFunctionTask(2, null, 4, 3, "投票管理", core.get(CoreKey.ZHINENG), "投票管理", "/upload/group1/M00/00/0F/AXTfEGDyk_SAQ-zvAAAVDdyvy30941.svg", 2, "/upload/group1/M00/00/00/rBBHwGCh0pyALA4XAAAUQ9iyCJU584.svg", null, null, false, 1),
                new CmmFunctionTask(2, null, 5, 2, "农事指导", "/pages/farmerGuide/index", "农事指导", "/upload/group1/M00/00/0F/AXTfEGDyk_SAGQMqAAAfleDnAgM740.svg", 2, "/upload/group1/M00/00/00/rBBHwGCh0VWAMBYhAAAeywIb9cc830.svg", null, null, false, 1),
                new CmmFunctionTask(2, null, 5, 2, "疫情防控", "pages/sick/index", "疫情防控", "/upload/group1/M00/00/0F/AXTfEGDyk_SAcYONAAATcA1By1g409.svg", 2, "/upload/group1/M00/00/0F/AXTfEGDyk_SAcYONAAATcA1By1g409.svg", null, null, false, 1),
                new CmmFunctionTask(2, null, 2, 2, "我有困难", "pages/people/index", "我有困难", "/upload/group1/M00/00/0F/AXTfEGDyk_SAJcT4AAAUVvIMbWU671.svg", 1, "/upload/group1/M00/00/00/rBBHwGCh0umAGKDPAAATjKuz6GA288.svg", 4, true, false, 1),
                new CmmFunctionTask(2, null, 2, 2, "一键开会", "/pages/videoCall/videoCall", "一键开会", "/upload/group1/M00/00/0F/AXTfEGDyk_SACIe_AAAZw6UOxgk419.svg", 1, "/upload/group1/M00/00/00/AXTfEGDAdsSAZWj1AAAY9Y1xXMg095.svg", 2, null, false, 1),
                new CmmFunctionTask(3, 1, null, 2, "小喇叭", "/pages/smallHorn/smallHorn", "", "/upload/group1/M00/00/16/AXTfEGESHx2AB191AAAYJaTA5Ok218.svg", 2, "/upload/group1/M00/00/16/AXTfEGESHx2AB191AAAYJaTA5Ok218.svg", null, null, true, 1),
                new CmmFunctionTask(3, 3, null, 2, "分析预警", "pages/marketAnalyze/index", "", "/upload/group1/M00/00/20/AXTfEGFnnQyAOTh3AAAb9mzOdoY165.svg", 2, "/upload/group1/M00/00/20/AXTfEGFnnQyAOTh3AAAb9mzOdoY165.svg", null, null, true, 1),
                new CmmFunctionTask(3, 3, null, 2, "价格大盘", "pages/marketPrice/price-list", "", "/upload/group1/M00/00/20/AXTfEGFnnQyAf5GxAAAXNXZbAHM273.svg", 2, "/upload/group1/M00/00/20/AXTfEGFnnQyAf5GxAAAXNXZbAHM273.svg", null, null, true, 1)
        ));
    }

    public static List<SysConfigTask> sysConfigTask(CunInfo info) {
        return new ArrayList<>(List.of(
                new SysConfigTask(9L, "村名称", "village_name", info.getCunName(), 1),
                new SysConfigTask(9L, "干部组织ID", "g_org_guid", String.valueOf(info.getFuwu()), 1),
                new SysConfigTask(9L, "农户组织ID", "n_org_guid", String.valueOf(info.getNonghu()), 1),
                new SysConfigTask(10L, "户主导入模板", "farmer_template_url", "/uploadFils/farmer/农户导入模板.xls", 1),
                new SysConfigTask(10L, "扩展信息导入模板", "farmer_ext_url", "/uploadFils/farmer/农户扩展信息导入模板.xls", 1),
                new SysConfigTask(10L, "干部信息导入模板", "leader_imp_template", "/uploadFils/farmer/干部信息导入模板.xls", 1),
                new SysConfigTask(10L, "扩展主表", "ext_template_1", "/uploadFils/farmer/扩展主表导入模板.xls", 1),
                new SysConfigTask(10L, "扩展基本情况", "ext_template_2", "/uploadFils/farmer/扩展基本情况导入模板.xls", 1),
                new SysConfigTask(10L, "扩展家庭年收入情况", "ext_template_3", "/uploadFils/farmer/扩展家庭年收入导入模板.xls", 1),
                new SysConfigTask(10L, "扩展教育保障政策", "ext_template_4", "/uploadFils/farmer/扩展教育保障政策导入模板.xls", 1),
                new SysConfigTask(10L, "扩展健康扶贫及政策", "ext_template_5", "/uploadFils/farmer/健康扶贫及政策导入模板.xls", 1),
                new SysConfigTask(10L, "扩展其他政策享受情况", "ext_template_6", "/uploadFils/farmer/其他政策享受情况导入模板.xls", 1),
                new SysConfigTask(20L, "钉钉调用地图地址", "ding_map_url", "", 1),
                new SysConfigTask(30L, "干部组织path", "g_org_path", "1." + info.getSubIdInZhen() + "." + info.getFuwu(), 1),
                new SysConfigTask(30L, "农户组织path", "n_org_path", "1." + info.getSubIdInZhen() + "." + info.getNonghu(), 1)
        ));
    }

    public static List<SysMenu> menuTask(String corpId, Long subId) {
        return new ArrayList<>(Arrays.asList(
                new SysMenu(110000L, 0L, 0L, "系统管理", "/sys", "/sys/sys-user", null, null,0, "sys-setting", 11, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110100L, 110000L, 110000L, "菜单管理", "sys-menu", null, "sys/menu.html", null,1, "sys-menu", 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110101L, 110100L, 110100L, "查看", null, null, null, "sys:menu:list,sys:menu:info",2, null, 0, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110102L, 110100L, 110100L, "新增", null, null, null, "sys:menu:save,sys:menu:select",2, null, 0, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110103L, 110100L, 110100L, "修改", null, null, null, "sys:menu:update,sys:menu:select",2, null, 0, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110104L, 110100L, 110100L, "删除", null, null, null, "sys:menu:delete",2, null, 0, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110200L, 110000L, 110000L, "组织管理", "sys-org", null, "sys/sysOrg.html", null,1, "si-site-map", 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110201L, 110200L, 110200L, "查看", null, null, null, "sysorg:list,sysorg:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110202L, 110200L, 110200L, "新增", null, null, null, "sysorg:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110203L, 110200L, 110200L, "修改", null, null, null, "sysorg:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110204L, 110200L, 110200L, "删除", null, null, null, "sysorg:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110300L, 110000L, 110000L, "用户管理", "sys-user", null, "sys/sysUser.html", null,1, "people", 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110301L, 110300L, 110300L, "查看", null, null, null, "sysuser:list,sysuser:info",2, null, 0, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110302L, 110300L, 110300L, "新增", null, null, null, "sysuser:save,sysuser:select",2, null, 0, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110303L, 110300L, 110300L, "修改", null, null, null, "sysuser:update,sysuser:select",2, null, 0, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110304L, 110300L, 110300L, "删除", null, null, null, "sysuser:delete",2, null, 0, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110400L, 110000L, 110000L, "角色管理", "sys-role", null, "sys/sysRole.html", null,1, "sys-role", 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110401L, 110400L, 110400L, "查看", null, null, null, "sysrole:list,sysrole:info",2, null, 0, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110402L, 110400L, 110400L, "新增", null, null, null, "sysrole:save,sysrole:perms",2, null, 0, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110403L, 110400L, 110400L, "修改", null, null, null, "sysrole:update,sysmenu:perms",2, null, 0, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110404L, 110400L, 110400L, "删除", null, null, null, "sysrole:delete",2, null, 0, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110500L, 110000L, 110000L, "系统日志", "sys-log", null, null, "syslog:list,syslog:info",1, "sys-log", 5, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110600L, 110000L, 110000L, "系统帮助", "sys-help", null, null, null,1, "language", 6, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110601L, 110600L, 110600L, "查看", null, null, null, "syshelp:list,syshelp:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110602L, 110600L, 110600L, "新增", null, null, null, "syshelp:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110603L, 110600L, 110600L, "修改", null, null, null, "syshelp:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110604L, 110600L, 110600L, "删除", null, null, null, "syshelp:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110700L, 110000L, 110000L, "参数配置", "sys-config", null, null, null,1, "sys-error", 7, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110701L, 110700L, 110700L, "设置", null, null, null, "sysconfig:list,sysconfig:info,sysconfig:set",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(110702L, 110700L, 110700L, "管理", null, null, null, "sysconfig:list,sysconfig:info,sysconfig:save,sysconfig:update,sysconfig:delete,sysconfig:set",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120000L, 0L, 0L, "农户管理", "/farmer", "/farmer/", null, null,0, "peoples", 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120100L, 120000L, 120000L, "农户基本信息", "farmerBasicInfo", null, null, null,1, "eye-open", 1, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-AYLyIAABPoX6X5ls827.png", 1, corpId, subId),
                new SysMenu(120101L, 120100L, 120100L, "查看农户", null, null, null, "farmer:list,farmer:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120102L, 120100L, 120100L, "新增农户", null, null, null, "farmer:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120103L, 120100L, 120100L, "修改农户", null, null, null, "farmer:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120104L, 120100L, 120100L, "删除农户", null, null, null, "farmer:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120105L, 120000L, 120000L, "组队基本信息", "townBasicInfo", null, null, null,1, "eye-open", 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120106L, 120000L, 120105L, "修改", null, null, null, "sysorg:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120107L, 120000L, 120105L, "新增", null, null, null, "sysorg:save",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120200L, 120000L, 120000L, "标签管理", "label", null, null, null,1, "eye-open", 2, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-AC8MlAABbXSajMsQ176.png", 1, corpId, subId),
                new SysMenu(120201L, 120200L, 120200L, "查看标签", null, null, null, "label:list,label:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120202L, 120200L, 120200L, "新增标签", null, null, null, "label:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120203L, 120200L, 120200L, "修改标签", null, null, null, "label:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120204L, 120200L, 120200L, "删除标签", null, null, null, "label:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120300L, 120000L, 120000L, "扩展配置", "farmer-ext-config", null, null, null,1, "eye-open", 4, 1, 0, null, null, 0, corpId, subId),
                new SysMenu(120301L, 120100L, 120300L, "查看", null, null, null, "farmerextconfig:list,farmerextconfig:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120302L, 120100L, 120300L, "新增", null, null, null, "farmerextconfig:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120303L, 120100L, 120300L, "修改", null, null, null, "farmerextconfig:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120304L, 120100L, 120300L, "删除", null, null, null, "farmerextconfig:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120500L, 120000L, 120000L, "农户扩展", "farmer-ext", null, null, null,1, "eye-open", 2, 1, 0, null, null, 0, corpId, subId),
                new SysMenu(120501L, 120100L, 120500L, "查看", null, null, null, "farmerext:list,farmerext:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120502L, 120100L, 120500L, "新增", null, null, null, "farmerext:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120503L, 120100L, 120500L, "修改", null, null, null, "farmerext:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(120504L, 120100L, 120500L, "删除", null, null, null, "farmerext:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(140100L, 0L, 0L, "联通管理", "/leader/cadre", "/leader/cadre", null, null,0, "eye-open", 2, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiq7yAAn1LAABRgr2_JPw238.png", 1, corpId, subId),
                new SysMenu(140101L, 140100L, 140100L, "查看", null, null, null, "cadre:list,cadre:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(140102L, 140100L, 140100L, "新增", null, null, null, "cadre:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(140103L, 140100L, 140100L, "修改", null, null, null, "cadre:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(140104L, 140100L, 140100L, "删除", null, null, null, "cadre:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(200000L, 0L, 0L, "农资管理", "/agr", "/agr/", null, null,0, "si-basket", 5, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-ABK2HAABMHbG6B9k458.png", 1, corpId, subId),
                new SysMenu(200100L, 200000L, 200000L, "供应管理", "agricultural_supply", null, null, null,1, "eye-open", 6, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(200101L, 200000L, 200100L, "查看", null, null, null, "agricultural:list,agricultural:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(200102L, 200000L, 200100L, "新增", null, null, null, "agricultural:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(200103L, 200000L, 200100L, "修改", null, null, null, "agricultural:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(200104L, 200000L, 200100L, "删除", null, null, null, "agricultural:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(200200L, 200000L, 200000L, "需求管理", "agricultural_demand", null, null, null,1, "eye-open", 6, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(200201L, 200000L, 200200L, "查看", null, null, null, "agricultural:list,agricultural:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(200202L, 200000L, 200200L, "新增", null, null, null, "agricultural:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(200203L, 200000L, 200200L, "修改", null, null, null, "agricultural:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(200204L, 200000L, 200200L, "删除", null, null, null, "agricultural:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(210100L, 0L, 0L, "招工信息", "/serve", "/serve/", null, null,0, "component", 4, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-AN20DAABS6muGsu8911.png", 1, corpId, subId),
                new SysMenu(210101L, 210100L, 210200L, "查看", null, null, null, "entrecruit:list,entrecruit:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(210102L, 210100L, 210200L, "新增", null, null, null, "entrecruit:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(210103L, 210100L, 210200L, "修改", null, null, null, "entrecruit:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(210104L, 210100L, 210200L, "删除", null, null, null, "entrecruit:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(210105L, 210100L, 210300L, "查看", null, null, null, "entrecruit:list,entrecruit:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(210106L, 210100L, 210300L, "新增", null, null, null, "entrecruit:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(210107L, 210100L, 210300L, "修改", null, null, null, "entrecruit:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(210108L, 210100L, 210300L, "删除", null, null, null, "entrecruit:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(210200L, 210100L, 210100L, "招聘管理", "ent_recruit", "/serve/", null, null,0, "component", 5, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-AN20DAABS6muGsu8911.png", 1, corpId, subId),
                new SysMenu(210300L, 210100L, 210100L, "求职管理", "ent_apply", "/serve/", null, null,0, "component", 6, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-AN20DAABS6muGsu8911.png", 1, corpId, subId),
                new SysMenu(530200L, 530000L, 530000L, "企业用户", "ent-corp-user", null, null, null,1, "peoples", 1, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(530201L, 530200L, 530200L, "查看", null, null, null, "ent:entcorpuser:list,ent:entcorpuser:info",2, null, 1, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(530202L, 530200L, 530200L, "新增", null, null, null, "ent:entcorpuser:save",2, null, 2, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(530203L, 530200L, 530200L, "修改", null, null, null, "ent:entcorpuser:update",2, null, 3, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(530204L, 530200L, 530200L, "删除", null, null, null, "ent:entcorpuser:delete",2, null, 4, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(540100L, 540000L, 540000L, "黑名单管理", "ent-black", null, null, null,1, "list", 1, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(540101L, 540100L, 540100L, "查看", null, null, null, "ent:entblack:list,ent:entblack:info",2, null, 1, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(540102L, 540100L, 540100L, "新增", null, null, null, "ent:entblack:save",2, null, 2, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(540103L, 540100L, 540100L, "修改", null, null, null, "ent:entblack:update",2, null, 3, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(540104L, 540100L, 540100L, "删除", null, null, null, "ent:entblack:delete",2, null, 4, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(540200L, 540000L, 540000L, "白名单管理", "ent-white", null, null, null,1, "list", 1, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(540201L, 540200L, 540200L, "查看", null, null, null, "ent:entwhite:list,ent:entwhite:info",2, null, 1, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(540202L, 540200L, 540200L, "新增", null, null, null, "ent:entwhite:save",2, null, 2, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(540203L, 540200L, 540200L, "修改", null, null, null, "ent:entwhite:update",2, null, 3, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(540204L, 540200L, 540200L, "删除", null, null, null, "ent:entwhite:delete",2, null, 4, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(540300L, 540000L, 540000L, "操作日志", "ent-log", null, null, "ent:entlog:list,ent:entlog:info",1, "sys-log", 1, 2, 1, null, null, 0, corpId, subId),
                new SysMenu(540319L, 0L, 0L, "资讯发布", "/info", "/info", null, null,0, "education", 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540320L, 540319L, 540319L, "党建天地", "consulting", null, null, null,1, "eye-open", 1, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-AaEWsAABg4BbjhGY599.png", 1, corpId, subId),
                new SysMenu(540321L, 540320L, 540320L, "查看", null, null, null, "consulting:list,consulting:info,consulting:phoneList",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540322L, 540320L, 540320L, "新增", null, null, null, "consulting:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540323L, 540320L, 540320L, "修改", null, null, null, "consulting:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540324L, 540320L, 540320L, "删除", null, null, null, "consulting:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540331L, 540319L, 540319L, "农事指导", "guidance", null, null, null,1, "eye-open", 2, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-AYuftAABc3ZeND1Y838.png", 1, corpId, subId),
                new SysMenu(540332L, 540331L, 540331L, "查看", null, null, null, "guidance:list,guidance:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540333L, 540331L, 540331L, "新增", null, null, null, "guidance:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540334L, 540331L, 540331L, "修改", null, null, null, "guidance:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540335L, 540331L, 540331L, "删除", null, null, null, "guidance:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540336L, 540319L, 540319L, "惠农政策", "huinong", null, null, null,1, "eye-open", 3, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-APissAABnKDfGayk130.png", 1, corpId, subId),
                new SysMenu(540337L, 540336L, 540336L, "查看", null, null, null, "huinong:list,huinong:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540338L, 540336L, 540336L, "新增", null, null, null, "huinong:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540339L, 540336L, 540336L, "修改", null, null, null, "huinong:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540340L, 540336L, 540336L, "删除", null, null, null, "huinong:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540341L, 540319L, 540319L, "领导班子", "leadership", null, null, null,1, "eye-open", 4, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-ARwfGAABenhe86bw478.png", 1, corpId, subId),
                new SysMenu(540342L, 540341L, 540341L, "查看", null, null, null, "leadership:list,leadership:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540343L, 540341L, 540341L, "新增", null, null, null, "leadership:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540344L, 540341L, 540341L, "修改", null, null, null, "leadership:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540345L, 540341L, 540341L, "删除", null, null, null, "leadership:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540346L, 540319L, 540319L, "乡村快讯", "news", null, null, null,1, "eye-open", 5, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-ADnz2AABgHoIUkuo351.png", 1, corpId, subId),
                new SysMenu(540347L, 540346L, 540346L, "查看", null, null, null, "news:list,news:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540348L, 540346L, 540346L, "新增", null, null, null, "news:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540349L, 540346L, 540346L, "修改", null, null, null, "news:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540350L, 540346L, 540346L, "删除", null, null, null, "news:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540351L, 540319L, 540319L, "三务公开", "open", null, null, null,1, "eye-open", 6, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-AGEo9AABayqEDs9Q898.png", 1, corpId, subId),
                new SysMenu(540352L, 540351L, 540351L, "查看", null, null, null, "open:list,open:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540353L, 540351L, 540351L, "新增", null, null, null, "open:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540354L, 540351L, 540351L, "修改", null, null, null, "open:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540355L, 540351L, 540351L, "删除", null, null, null, "open:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540356L, 540319L, 540319L, "美丽乡村", "rural", null, null, null,1, "eye-open", 7, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-AaiYpAABiaiOiBAk310.png", 1, corpId, subId),
                new SysMenu(540357L, 540356L, 540356L, "查看", null, null, null, "rural:list,rural:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540358L, 540356L, 540356L, "新增", null, null, null, "rural:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540359L, 540356L, 540356L, "修改", null, null, null, "rural:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540360L, 540356L, 540356L, "删除", null, null, null, "rural:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540362L, 600000L, 600000L, "通知栏", "information", null, null, null,1, "form", 9, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-ACjZGAABNN5FjvL8417.png", 1, corpId, subId),
                new SysMenu(540363L, 540362L, 540362L, "查看", null, null, null, "information:list,information:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540364L, 540362L, 540362L, "新增", null, null, null, "information:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540365L, 540362L, 540362L, "修改", null, null, null, "information:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540366L, 540362L, 540362L, "删除", null, null, null, "information:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540367L, 600000L, 600000L, "大喇叭", "loudspeakers", null, null, null,1, "si-sound", 8, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-AGJuMAABVmSLCUIY309.png", 1, corpId, subId),
                new SysMenu(540368L, 540367L, 540367L, "查看", null, null, null, "loudspeakers:list,loudspeakers:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540369L, 540367L, 540367L, "新增", null, null, null, "loudspeakers:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540370L, 540367L, 540367L, "修改", null, null, null, "loudspeakers:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540371L, 540367L, 540367L, "删除", null, null, null, "loudspeakers:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540372L, 0L, 0L, "我有困难", "/notice/photograph", null, null, null,0, "eye-on", 7, 1, 1, 1, "/upload/group1/M00/00/06/AXTfEGDiqq-AcG_RAABjEPZQR_g752.png", 1, corpId, subId),
                new SysMenu(540373L, 540372L, 540372L, "查看", null, null, null, "photograph:list,photograph:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540374L, 540372L, 540372L, "新增", null, null, null, "photograph:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540375L, 540372L, 540372L, "修改", null, null, null, "photograph:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540376L, 540372L, 540372L, "删除", null, null, null, "photograph:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540377L, 0L, 0L, "应用配置", "/notice/cmmFunctionCofig", null, null, null,0, "si-android", 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540378L, 540377L, 540377L, "查看", null, null, null, "cmmfunctioncofig:list,cmmfunctioncofig:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540379L, 540377L, 540377L, "新增", null, null, null, "cmmfunctioncofig:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540380L, 540377L, 540377L, "修改", null, null, null, "cmmfunctioncofig:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540381L, 540377L, 540377L, "删除", null, null, null, "cmmfunctioncofig:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540382L, 0L, 0L, "平安乡村", "/notice/cmm-safety", null, null, null,0, "si-bell", 6, 1, 1, null, "/upload/group1/M00/00/06/AXTfEGDiqq-ANE3bAABpKVWRBNc301.png", 1, corpId, subId),
                new SysMenu(540383L, 540382L, 540382L, "查看", null, null, null, "cmmsafety:list,cmmsafety:info",2, null, 1, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540384L, 540382L, 540382L, "新增", null, null, null, "cmmsafety:save",2, null, 2, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540385L, 540382L, 540382L, "修改", null, null, null, "cmmsafety:update",2, null, 3, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(540386L, 540382L, 540382L, "删除", null, null, null, "cmmsafety:delete",2, null, 4, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(550000L, 0L, 0L, "小喇叭", "/notice/smallHorn", null, null, null,0, "si-small-horn", 9, 1, 1, null, "/upload/group1/M00/00/15/AXTfEGEMpiGAeF7tAABgbEWMpM8000.png", 1, corpId, subId),
                new SysMenu(550001L, 550000L, 550000L, "查看", null, null, null, "shron:list",2, null, 9, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(560000L, 0L, 0L, "banner管理", "/banner", null, null, null,0, "si-banner", 10, 1, 1, null, "/upload/group1/M00/00/15/AXTfEGEM22KAaxtTAABjW6mFaGw988.png", 1, corpId, subId),
                new SysMenu(560001L, 560000L, 560000L, "农户banner管理", "banner_farmer", null, null, "banner:list",0, null, 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(560002L, 560000L, 560000L, "村委banner管理", "banner_cadre", null, null, "banner:list",0, null, 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(560003L, 560000L, 560000L, "乡镇banner管理", "banner_town", null, null, "banner:list",0, null, 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(560004L, 560000L, 560000L, "农户新增", null, null, null, "banner:save",0, null, 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(560005L, 560000L, 560000L, "农户修改", null, null, null, "banner:update",0, null, 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(560006L, 560000L, 560000L, "农户删除", null, null, null, "banner:delete",0, null, 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(560007L, 560000L, 560000L, "村委新增", null, null, null, "banner:save",0, null, 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(560008L, 560000L, 560000L, "村委修改", null, null, null, "banner:update",0, null, 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(560009L, 560000L, 560000L, "村委删除", null, null, null, "banner:delete",0, null, 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(560010L, 560000L, 560000L, "乡镇新增", null, null, null, "banner:save",0, null, 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(560011L, 560000L, 560000L, "乡镇修改", null, null, null, "banner:update",0, null, 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(560012L, 560000L, 560000L, "乡镇删除", null, null, null, "banner:delete",0, null, 10, 1, 1, null, null, 0, corpId, subId),
                new SysMenu(600000L, 0L, 0L, "通知公告", "/notice", null, null, null,0, "si-sound", 8, 1, 1, null, null, 0, corpId, subId)
        ));
    }

    public static List<SysRole> roleTask(String corpId, Long subId) {
        return new ArrayList<>(List.of(
                new SysRole(1L, "管理员", 1, "管理员", 1L, null, 1, 1L, new Date(), corpId, subId),
                new SysRole(2L, "干部角色", 1, "干部角色", 1L, null, 1, 1L, new Date(), corpId, subId),
                new SysRole(3L, "农户角色", 1, "农户角色", 1L, null, 1, 1L, new Date(), corpId, subId)
        ));
    }

    public static List<SysRoleMenu> roleMenuTask(String corpId, Long subId) {
        return new ArrayList<>(Arrays.asList(
                new SysRoleMenu(10589L, 2L, 120000L, corpId, subId),
                new SysRoleMenu(10590L, 2L, 120100L, corpId, subId),
                new SysRoleMenu(10591L, 2L, 120101L, corpId, subId),
                new SysRoleMenu(10592L, 2L, 120201L, corpId, subId),
                new SysRoleMenu(10593L, 2L, 120102L, corpId, subId),
                new SysRoleMenu(10594L, 2L, 120202L, corpId, subId),
                new SysRoleMenu(10595L, 2L, 120103L, corpId, subId),
                new SysRoleMenu(10596L, 2L, 120203L, corpId, subId),
                new SysRoleMenu(10597L, 2L, 120104L, corpId, subId),
                new SysRoleMenu(10598L, 2L, 120204L, corpId, subId),
                new SysRoleMenu(10599L, 2L, 120200L, corpId, subId),
                new SysRoleMenu(10600L, 2L, 120500L, corpId, subId),
                new SysRoleMenu(10601L, 2L, 120501L, corpId, subId),
                new SysRoleMenu(10602L, 2L, 120502L, corpId, subId),
                new SysRoleMenu(10603L, 2L, 120503L, corpId, subId),
                new SysRoleMenu(10604L, 2L, 120504L, corpId, subId),
                new SysRoleMenu(10605L, 2L, 120300L, corpId, subId),
                new SysRoleMenu(10606L, 2L, 120301L, corpId, subId),
                new SysRoleMenu(10607L, 2L, 120302L, corpId, subId),
                new SysRoleMenu(10608L, 2L, 120303L, corpId, subId),
                new SysRoleMenu(10609L, 2L, 120304L, corpId, subId),
                new SysRoleMenu(10610L, 2L, 140100L, corpId, subId),
                new SysRoleMenu(10611L, 2L, 140101L, corpId, subId),
                new SysRoleMenu(10612L, 2L, 140102L, corpId, subId),
                new SysRoleMenu(10613L, 2L, 140103L, corpId, subId),
                new SysRoleMenu(10614L, 2L, 140104L, corpId, subId),
                new SysRoleMenu(10615L, 2L, 540319L, corpId, subId),
                new SysRoleMenu(10616L, 2L, 540320L, corpId, subId),
                new SysRoleMenu(10617L, 2L, 540321L, corpId, subId),
                new SysRoleMenu(10618L, 2L, 540322L, corpId, subId),
                new SysRoleMenu(10619L, 2L, 540323L, corpId, subId),
                new SysRoleMenu(10620L, 2L, 540324L, corpId, subId),
                new SysRoleMenu(10621L, 2L, 540331L, corpId, subId),
                new SysRoleMenu(10622L, 2L, 540332L, corpId, subId),
                new SysRoleMenu(10623L, 2L, 540333L, corpId, subId),
                new SysRoleMenu(10624L, 2L, 540334L, corpId, subId),
                new SysRoleMenu(10625L, 2L, 540335L, corpId, subId),
                new SysRoleMenu(10626L, 2L, 540336L, corpId, subId),
                new SysRoleMenu(10627L, 2L, 540337L, corpId, subId),
                new SysRoleMenu(10628L, 2L, 540338L, corpId, subId),
                new SysRoleMenu(10629L, 2L, 540339L, corpId, subId),
                new SysRoleMenu(10630L, 2L, 540340L, corpId, subId),
                new SysRoleMenu(10631L, 2L, 540341L, corpId, subId),
                new SysRoleMenu(10632L, 2L, 540342L, corpId, subId),
                new SysRoleMenu(10633L, 2L, 540343L, corpId, subId),
                new SysRoleMenu(10634L, 2L, 540344L, corpId, subId),
                new SysRoleMenu(10635L, 2L, 540345L, corpId, subId),
                new SysRoleMenu(10636L, 2L, 540346L, corpId, subId),
                new SysRoleMenu(10637L, 2L, 540347L, corpId, subId),
                new SysRoleMenu(10638L, 2L, 540348L, corpId, subId),
                new SysRoleMenu(10639L, 2L, 540349L, corpId, subId),
                new SysRoleMenu(10640L, 2L, 540350L, corpId, subId),
                new SysRoleMenu(10641L, 2L, 540351L, corpId, subId),
                new SysRoleMenu(10642L, 2L, 540352L, corpId, subId),
                new SysRoleMenu(10643L, 2L, 540353L, corpId, subId),
                new SysRoleMenu(10644L, 2L, 540354L, corpId, subId),
                new SysRoleMenu(10645L, 2L, 540355L, corpId, subId),
                new SysRoleMenu(10646L, 2L, 540356L, corpId, subId),
                new SysRoleMenu(10647L, 2L, 540357L, corpId, subId),
                new SysRoleMenu(10648L, 2L, 540358L, corpId, subId),
                new SysRoleMenu(10649L, 2L, 540359L, corpId, subId),
                new SysRoleMenu(10650L, 2L, 540360L, corpId, subId),
                new SysRoleMenu(10651L, 2L, 210100L, corpId, subId),
                new SysRoleMenu(10652L, 2L, 210101L, corpId, subId),
                new SysRoleMenu(10653L, 2L, 210102L, corpId, subId),
                new SysRoleMenu(10654L, 2L, 210103L, corpId, subId),
                new SysRoleMenu(10655L, 2L, 210104L, corpId, subId),
                new SysRoleMenu(10656L, 2L, 200000L, corpId, subId),
                new SysRoleMenu(10657L, 2L, 200200L, corpId, subId),
                new SysRoleMenu(10658L, 2L, 200201L, corpId, subId),
                new SysRoleMenu(10659L, 2L, 200202L, corpId, subId),
                new SysRoleMenu(10660L, 2L, 200203L, corpId, subId),
                new SysRoleMenu(10661L, 2L, 200204L, corpId, subId),
                new SysRoleMenu(10662L, 2L, 200100L, corpId, subId),
                new SysRoleMenu(10663L, 2L, 200101L, corpId, subId),
                new SysRoleMenu(10664L, 2L, 200102L, corpId, subId),
                new SysRoleMenu(10665L, 2L, 200103L, corpId, subId),
                new SysRoleMenu(10666L, 2L, 200104L, corpId, subId),
                new SysRoleMenu(10667L, 2L, 540372L, corpId, subId),
                new SysRoleMenu(10668L, 2L, 540373L, corpId, subId),
                new SysRoleMenu(10669L, 2L, 540374L, corpId, subId),
                new SysRoleMenu(10670L, 2L, 540375L, corpId, subId),
                new SysRoleMenu(10671L, 2L, 540376L, corpId, subId),
                new SysRoleMenu(10672L, 2L, 540367L, corpId, subId),
                new SysRoleMenu(10673L, 2L, 540368L, corpId, subId),
                new SysRoleMenu(10674L, 2L, 540369L, corpId, subId),
                new SysRoleMenu(10675L, 2L, 540370L, corpId, subId),
                new SysRoleMenu(10676L, 2L, 540371L, corpId, subId),
                new SysRoleMenu(10677L, 2L, 540362L, corpId, subId),
                new SysRoleMenu(10678L, 2L, 540363L, corpId, subId),
                new SysRoleMenu(10679L, 2L, 540364L, corpId, subId),
                new SysRoleMenu(10680L, 2L, 540365L, corpId, subId),
                new SysRoleMenu(10681L, 2L, 540366L, corpId, subId),
                new SysRoleMenu(10682L, 2L, 540382L, corpId, subId),
                new SysRoleMenu(10683L, 2L, 540383L, corpId, subId),
                new SysRoleMenu(10684L, 2L, 540384L, corpId, subId),
                new SysRoleMenu(10685L, 2L, 540385L, corpId, subId),
                new SysRoleMenu(10686L, 2L, 540386L, corpId, subId),
                new SysRoleMenu(10687L, 1L, 120000L, corpId, subId),
                new SysRoleMenu(10688L, 1L, 120100L, corpId, subId),
                new SysRoleMenu(10689L, 1L, 120101L, corpId, subId),
                new SysRoleMenu(10690L, 1L, 120201L, corpId, subId),
                new SysRoleMenu(10691L, 1L, 120102L, corpId, subId),
                new SysRoleMenu(10692L, 1L, 120202L, corpId, subId),
                new SysRoleMenu(10693L, 1L, 120103L, corpId, subId),
                new SysRoleMenu(10694L, 1L, 120203L, corpId, subId),
                new SysRoleMenu(10695L, 1L, 120104L, corpId, subId),
                new SysRoleMenu(10696L, 1L, 120204L, corpId, subId),
                new SysRoleMenu(10697L, 1L, 120200L, corpId, subId),
                new SysRoleMenu(10698L, 1L, 120500L, corpId, subId),
                new SysRoleMenu(10699L, 1L, 120501L, corpId, subId),
                new SysRoleMenu(10700L, 1L, 120502L, corpId, subId),
                new SysRoleMenu(10701L, 1L, 120503L, corpId, subId),
                new SysRoleMenu(10702L, 1L, 120504L, corpId, subId),
                new SysRoleMenu(10703L, 1L, 120300L, corpId, subId),
                new SysRoleMenu(10704L, 1L, 120301L, corpId, subId),
                new SysRoleMenu(10705L, 1L, 120302L, corpId, subId),
                new SysRoleMenu(10706L, 1L, 120303L, corpId, subId),
                new SysRoleMenu(10707L, 1L, 120304L, corpId, subId),
                new SysRoleMenu(10708L, 1L, 140100L, corpId, subId),
                new SysRoleMenu(10709L, 1L, 140101L, corpId, subId),
                new SysRoleMenu(10710L, 1L, 140102L, corpId, subId),
                new SysRoleMenu(10711L, 1L, 140103L, corpId, subId),
                new SysRoleMenu(10712L, 1L, 140104L, corpId, subId),
                new SysRoleMenu(10713L, 1L, 540319L, corpId, subId),
                new SysRoleMenu(10714L, 1L, 540320L, corpId, subId),
                new SysRoleMenu(10715L, 1L, 540321L, corpId, subId),
                new SysRoleMenu(10716L, 1L, 540322L, corpId, subId),
                new SysRoleMenu(10717L, 1L, 540323L, corpId, subId),
                new SysRoleMenu(10718L, 1L, 540324L, corpId, subId),
                new SysRoleMenu(10719L, 1L, 540331L, corpId, subId),
                new SysRoleMenu(10720L, 1L, 540332L, corpId, subId),
                new SysRoleMenu(10721L, 1L, 540333L, corpId, subId),
                new SysRoleMenu(10722L, 1L, 540334L, corpId, subId),
                new SysRoleMenu(10723L, 1L, 540335L, corpId, subId),
                new SysRoleMenu(10724L, 1L, 540336L, corpId, subId),
                new SysRoleMenu(10725L, 1L, 540337L, corpId, subId),
                new SysRoleMenu(10726L, 1L, 540338L, corpId, subId),
                new SysRoleMenu(10727L, 1L, 540339L, corpId, subId),
                new SysRoleMenu(10728L, 1L, 540340L, corpId, subId),
                new SysRoleMenu(10729L, 1L, 540341L, corpId, subId),
                new SysRoleMenu(10730L, 1L, 540342L, corpId, subId),
                new SysRoleMenu(10731L, 1L, 540343L, corpId, subId),
                new SysRoleMenu(10732L, 1L, 540344L, corpId, subId),
                new SysRoleMenu(10733L, 1L, 540345L, corpId, subId),
                new SysRoleMenu(10734L, 1L, 540346L, corpId, subId),
                new SysRoleMenu(10735L, 1L, 540347L, corpId, subId),
                new SysRoleMenu(10736L, 1L, 540348L, corpId, subId),
                new SysRoleMenu(10737L, 1L, 540349L, corpId, subId),
                new SysRoleMenu(10738L, 1L, 540350L, corpId, subId),
                new SysRoleMenu(10739L, 1L, 540351L, corpId, subId),
                new SysRoleMenu(10740L, 1L, 540352L, corpId, subId),
                new SysRoleMenu(10741L, 1L, 540353L, corpId, subId),
                new SysRoleMenu(10742L, 1L, 540354L, corpId, subId),
                new SysRoleMenu(10743L, 1L, 540355L, corpId, subId),
                new SysRoleMenu(10744L, 1L, 540356L, corpId, subId),
                new SysRoleMenu(10745L, 1L, 540357L, corpId, subId),
                new SysRoleMenu(10746L, 1L, 540358L, corpId, subId),
                new SysRoleMenu(10747L, 1L, 540359L, corpId, subId),
                new SysRoleMenu(10748L, 1L, 540360L, corpId, subId),
                new SysRoleMenu(10749L, 1L, 210100L, corpId, subId),
                new SysRoleMenu(10750L, 1L, 210101L, corpId, subId),
                new SysRoleMenu(10751L, 1L, 210102L, corpId, subId),
                new SysRoleMenu(10752L, 1L, 210103L, corpId, subId),
                new SysRoleMenu(10753L, 1L, 210104L, corpId, subId),
                new SysRoleMenu(10754L, 1L, 200000L, corpId, subId),
                new SysRoleMenu(10755L, 1L, 200200L, corpId, subId),
                new SysRoleMenu(10756L, 1L, 200201L, corpId, subId),
                new SysRoleMenu(10757L, 1L, 200202L, corpId, subId),
                new SysRoleMenu(10758L, 1L, 200203L, corpId, subId),
                new SysRoleMenu(10759L, 1L, 200204L, corpId, subId),
                new SysRoleMenu(10760L, 1L, 200100L, corpId, subId),
                new SysRoleMenu(10761L, 1L, 200101L, corpId, subId),
                new SysRoleMenu(10762L, 1L, 200102L, corpId, subId),
                new SysRoleMenu(10763L, 1L, 200103L, corpId, subId),
                new SysRoleMenu(10764L, 1L, 200104L, corpId, subId),
                new SysRoleMenu(10765L, 1L, 540382L, corpId, subId),
                new SysRoleMenu(10766L, 1L, 540383L, corpId, subId),
                new SysRoleMenu(10767L, 1L, 540384L, corpId, subId),
                new SysRoleMenu(10768L, 1L, 540385L, corpId, subId),
                new SysRoleMenu(10769L, 1L, 540386L, corpId, subId),
                new SysRoleMenu(10770L, 1L, 540372L, corpId, subId),
                new SysRoleMenu(10771L, 1L, 540373L, corpId, subId),
                new SysRoleMenu(10772L, 1L, 540374L, corpId, subId),
                new SysRoleMenu(10773L, 1L, 540375L, corpId, subId),
                new SysRoleMenu(10774L, 1L, 540376L, corpId, subId),
                new SysRoleMenu(10775L, 1L, 540367L, corpId, subId),
                new SysRoleMenu(10776L, 1L, 540368L, corpId, subId),
                new SysRoleMenu(10777L, 1L, 540369L, corpId, subId),
                new SysRoleMenu(10778L, 1L, 540370L, corpId, subId),
                new SysRoleMenu(10779L, 1L, 540371L, corpId, subId),
                new SysRoleMenu(10780L, 1L, 540362L, corpId, subId),
                new SysRoleMenu(10781L, 1L, 540363L, corpId, subId),
                new SysRoleMenu(10782L, 1L, 540364L, corpId, subId),
                new SysRoleMenu(10783L, 1L, 540365L, corpId, subId),
                new SysRoleMenu(10784L, 1L, 540366L, corpId, subId),
                new SysRoleMenu(10785L, 1L, 110000L, corpId, subId),
                new SysRoleMenu(10786L, 1L, 110100L, corpId, subId),
                new SysRoleMenu(10787L, 1L, 110101L, corpId, subId),
                new SysRoleMenu(10788L, 1L, 110102L, corpId, subId),
                new SysRoleMenu(10789L, 1L, 110103L, corpId, subId),
                new SysRoleMenu(10790L, 1L, 110104L, corpId, subId),
                new SysRoleMenu(10791L, 1L, 110200L, corpId, subId),
                new SysRoleMenu(10792L, 1L, 110201L, corpId, subId),
                new SysRoleMenu(10793L, 1L, 110202L, corpId, subId),
                new SysRoleMenu(10794L, 1L, 110203L, corpId, subId),
                new SysRoleMenu(10795L, 1L, 110204L, corpId, subId),
                new SysRoleMenu(10796L, 1L, 110300L, corpId, subId),
                new SysRoleMenu(10797L, 1L, 110301L, corpId, subId),
                new SysRoleMenu(10798L, 1L, 110302L, corpId, subId),
                new SysRoleMenu(10799L, 1L, 110303L, corpId, subId),
                new SysRoleMenu(10800L, 1L, 110304L, corpId, subId),
                new SysRoleMenu(10801L, 1L, 110400L, corpId, subId),
                new SysRoleMenu(10802L, 1L, 110401L, corpId, subId),
                new SysRoleMenu(10803L, 1L, 110402L, corpId, subId),
                new SysRoleMenu(10804L, 1L, 110403L, corpId, subId),
                new SysRoleMenu(10805L, 1L, 110404L, corpId, subId),
                new SysRoleMenu(10806L, 1L, 110500L, corpId, subId),
                new SysRoleMenu(10807L, 1L, 110600L, corpId, subId),
                new SysRoleMenu(10808L, 1L, 110601L, corpId, subId),
                new SysRoleMenu(10809L, 1L, 110602L, corpId, subId),
                new SysRoleMenu(10810L, 1L, 110603L, corpId, subId),
                new SysRoleMenu(10811L, 1L, 110604L, corpId, subId),
                new SysRoleMenu(10812L, 1L, 110700L, corpId, subId),
                new SysRoleMenu(10813L, 1L, 110701L, corpId, subId),
                new SysRoleMenu(10814L, 1L, 110702L, corpId, subId),
                new SysRoleMenu(10815L, 1L, 540377L, corpId, subId),
                new SysRoleMenu(10816L, 1L, 540378L, corpId, subId),
                new SysRoleMenu(10817L, 1L, 540379L, corpId, subId),
                new SysRoleMenu(10818L, 1L, 540380L, corpId, subId),
                new SysRoleMenu(10819L, 1L, 540381L, corpId, subId),
                new SysRoleMenu(10820L, 3L, 200203L, corpId, subId),
                new SysRoleMenu(10821L, 1L, 120105L, corpId, subId),
                new SysRoleMenu(10822L, 2L, 120105L, corpId, subId),
                new SysRoleMenu(10823L, 2L, 120106L, corpId, subId),
                new SysRoleMenu(10824L, 2L, 120107L, corpId, subId),
                new SysRoleMenu(10825L, 3L, 200103L, corpId, subId),
                new SysRoleMenu(10826L, 2L, 550000L, corpId, subId),
                new SysRoleMenu(10827L, 1L, 550000L, corpId, subId),
                new SysRoleMenu(10828L, 2L, 560000L, corpId, subId),
                new SysRoleMenu(10829L, 1L, 560000L, corpId, subId),
                new SysRoleMenu(10830L, 2L, 560001L, corpId, subId),
                new SysRoleMenu(10831L, 1L, 560001L, corpId, subId),
                new SysRoleMenu(10832L, 2L, 560002L, corpId, subId),
                new SysRoleMenu(10833L, 1L, 560002L, corpId, subId),
                new SysRoleMenu(10836L, 2L, 550001L, corpId, subId),
                new SysRoleMenu(10837L, 1L, 550001L, corpId, subId),
                new SysRoleMenu(10838L, 3L, 560001L, corpId, subId),
                new SysRoleMenu(10839L, 1L, 560004L, corpId, subId),
                new SysRoleMenu(10841L, 1L, 560005L, corpId, subId),
                new SysRoleMenu(10843L, 1L, 560006L, corpId, subId),
                new SysRoleMenu(10845L, 2L, 560004L, corpId, subId),
                new SysRoleMenu(10846L, 2L, 560005L, corpId, subId),
                new SysRoleMenu(10847L, 2L, 560006L, corpId, subId),
                new SysRoleMenu(10848L, 2L, 560007L, corpId, subId),
                new SysRoleMenu(10849L, 2L, 560008L, corpId, subId),
                new SysRoleMenu(10850L, 2L, 560009L, corpId, subId),
                new SysRoleMenu(10853L, 1L, 560011L, corpId, subId),
                new SysRoleMenu(10866L, 1L, 210200L, corpId, subId),
                new SysRoleMenu(10867L, 2L, 210200L, corpId, subId),
                new SysRoleMenu(10868L, 1L, 210300L, corpId, subId),
                new SysRoleMenu(10869L, 2L, 210300L, corpId, subId),
                new SysRoleMenu(10870L, 1L, 210105L, corpId, subId),
                new SysRoleMenu(10871L, 2L, 210105L, corpId, subId),
                new SysRoleMenu(10872L, 1L, 210106L, corpId, subId),
                new SysRoleMenu(10873L, 2L, 210106L, corpId, subId),
                new SysRoleMenu(10874L, 1L, 210107L, corpId, subId),
                new SysRoleMenu(10875L, 2L, 210107L, corpId, subId),
                new SysRoleMenu(10876L, 1L, 210108L, corpId, subId),
                new SysRoleMenu(10877L, 2L, 210108L, corpId, subId)
        ));
    }
}
